package gameObjects;


public  class Unit extends GameObject {

	protected int hp;
	protected int damage;
	protected int range;
	protected int gold;


	public Unit( String player) {
		super();
		this.objectType="UNIT";
		this.player = player;
	}

	public Unit(){
		super();
		this.objectType = "UNIT";
	}
	
	public int getHp() {
		return hp;
	}
	public void setHp(int hp) {
		this.hp = hp;
	}
	public int getDamage() {
		return damage;
	}
	public void setDamage(int damage) {
		this.damage = damage;
	}
	public int getRange() {
		return range;
	}
	public void setRange(int range) {
		this.range = range;
	}

	public int getGold() {
		return gold;
	}

	public void setGold(int gold) {
		this.gold = gold;
	}

}
